export function createElement(type, props = {}, ...childrens) {
  // if (childrens.length === 1) {
  //   childrens = childrens[0];
  // }
  return {
    type: type,
    attributes: {
      ...props,
      
    },
    children: childrens
  };
}
